# while 循环
# 三个变量 a b c,c=a+b
a=1
b=1
c=0
i=0
print(a,end=" ")
print(b,end=" ")
# while i<10: #假设循环10次这个过程
#     c = a + b
#     a=b
#     b=c
#     i+=1
#     print(c,end=" ")

# for 循环
for i in range(10):
    a,b=a+b,a
    print(a,end=" ")

